<template>
  <div class="flex-box nav-list">
    <div v-for="img in navData" :key="img.uid" class="nav-list__item">
      <img class="nav-list__img"  :src="img.url">
      <div>{{img.label || ''}}</div>
    </div>
  </div>
</template>

<script>
export default {
  props: {
    navData: Array
  }
};
</script>

<style scoped>
.nav-list {
  padding: 15px;
  box-sizing: border-box;
  height: 100px;
  background: #fff;
}
.nav-list__item {
  flex: 1;
  text-align: center;
}
.nav-list__img {
  width: 45px;
  height: 45px;
}
</style>
